-
Home
-
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress
-
4.13.0
-
Code
-
Classes
- UploadHandler
Total Complexity |
50 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
300 |
Lines of code |
171 |
Logical lines of code |
114 |
Comment lines |
60 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_protection_files() |
A |
51 |
13 |
24 |
scan_folders() |
A |
55 |
8 |
18 |
admin_notice() |
S |
56 |
5 |
18 |
is_uploads_directory_protected() |
S |
55 |
5 |
17 |
update_filename() |
S |
61 |
5 |
12 |
upload_dir() |
S |
58 |
4 |
15 |
unique_filename() |
S |
56 |
3 |
18 |
allowed_mime_types() |
S |
53 |
1 |
22 |
file_is_displayable_image() |
S |
69 |
2 |
6 |
get_instance() |
S |
69 |
2 |
7 |
__construct() |
S |
65 |
1 |
8 |
get_upload_dir() |
S |
70 |
1 |
6 |